<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<TITLE>
Contexts
</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>Contexts</H1>
<p>
Contexts are a way of relating a set of URLs together.<br/>
You can define any contexts you like, but it is expected that a context will correspond to 
a web application.<br/>
It is recommended that you define a new contexts for each web application
that makes up the system you are testing, and set them in scope as you test each one.

</p>
<p>
Contexts are defined as a set of regular expressions (regexs) which are applied to all of the URLs in the
<a href="../../ui/tabs/sites.html">Sites tab</a>.<br/>
<strong>Note:</strong> The regular expressions must match the whole URL.
<p>
You can configure contexts via:
<ul>
<li>Right click menu items in the in the Sites or History tab</li>
<li>The <a href="../../ui/dialogs/session/contexts.html">Session Contexts dialogs</a>. 
</li>
</ul>

<H2>See also</H2>
<table>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>
<a href="../../ui/overview.html">UI Overview</a></td><td>for an overview of the user interface</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>
<a href="concepts.html">Features</a></td><td>provided by ZAP</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td><a href="structmods.html">Structural Modifiers</a></td><td>controls which change how ZAP represents the structure of the application</td></tr>
</table>

</BODY>
</HTML>
